/**
 * Filename: YNTheme.java
 * @author  Firefly
 * @contact postfirefly@163.com
 * @time    2016/4/14 12:01
 */
package com.github.postsanf.yinian.bean;
/**
 * 主题类
 */
public class YNTheme extends BaseBean
{
    private int    tid;										    // ID
    private String tname;										// 主题名称
    private String turl;										// 地址
    private String tpic;										// 图片

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getTurl() {
        return turl;
    }

    public void setTurl(String turl) {
        this.turl = turl;
    }

    public String getTpic() {
        return tpic;
    }

    public void setTpic(String tpic) {
        this.tpic = tpic;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNTheme) {
            return this.tid == ((YNTheme) o).tid;
        }
        return super.equals(o);
    }
}
